﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CriteriaVehiclesInOutStockAtVSMDealers.ascx.cs" Inherits="VSM.Business.Printing.Reports.CriteriaVehiclesInOutStockAtVSMDealers" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
    <asp:ScriptManager ID="ScriptManagerMain" runat="server" EnablePartialRendering="true"
        AsyncPostBackTimeout="360000">
        </asp:ScriptManager>
    <h3 style="border-bottom-style: solid; border-bottom-width: thin">Vehicles In-Out Stock At VSM Dealers</h3>
    <asp:UpdatePanel ID="updatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <div style="margin-left: 5px; height: 100%; width: 100%;">                
                <table style="width: 100%;" border="0">
                    <tr>
                        <td class="FormLineItemAlt" style="width: 10%;">
                            <asp:Label ID="lblFromDate" runat="server" Text="From date"></asp:Label>
                        </td>
                        <td class="FormLineItemAlt" style="width: 15%;">
                            <asp:TextBox ID="txtFromDate" style="Z-INDEX: 101;" runat="server" Width="100px"></asp:TextBox>
                            <cc1:CalendarExtender ID="txtFromDate_CalendarExtender" runat="server" 
                                Format="dd/MM/yyyy" PopupButtonID="imgFromDate" TargetControlID="txtFromDate">
                            </cc1:CalendarExtender>
                            <asp:ImageButton ID="imgFromDate" runat="Server" 
                                AlternateText="Click to show calendar" 
                                ImageUrl="~/Images/Calendar_scheduleHS.png" />
                            <asp:Label ID="lblFromDateRequired" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        </td>
                        <td class="FormLineItemAlt" style="width: 10%;">
                            
                            <asp:Label ID="lblToDate" runat="server" Text="To date"></asp:Label>
                            
                         </td>
                        <td class="FormLineItemAlt" style="width: 15%;">
                            
                            <asp:TextBox ID="txtToDate" runat="server" Width="100px"></asp:TextBox>
                            <cc1:CalendarExtender ID="txtToDate_CalendarExtender" runat="server" 
                                Format="dd/MM/yyyy" PopupButtonID="imgToDate" TargetControlID="txtToDate">
                            </cc1:CalendarExtender>
                            <asp:ImageButton ID="imgToDate" runat="Server" 
                                AlternateText="Click to show calendar" 
                                ImageUrl="~/Images/Calendar_scheduleHS.png" />
                            <asp:Label ID="lblToDateRequired" runat="server" ForeColor="Red" Text="*"></asp:Label>
                            
                        </td>
                        <td class="FormLineItemAlt" style="width: 50%;">
                            
                        </td>
                    </tr>
                    <tr>
                        <td class="FormLineItem" style="width: 10%;">
                            <asp:Label ID="lblDBName" runat="server" Text="VSM or Dealers"></asp:Label>
                        </td>
                        <td class="FormLineItem" style="width: 15%;">
                            <asp:DropDownList ID="ddlDBName" runat="server" Width="90%">
                                <asp:ListItem>VSM</asp:ListItem>
                                <asp:ListItem>DEALER</asp:ListItem>
                            </asp:DropDownList>
                            <asp:Label ID="lblWhsRequired" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        </td>
                        <td class="FormLineItem" style="width: 10%;">
                            &nbsp;</td>
                         <td class="FormLineItem" style="width: 15%;">
                             &nbsp;</td>
                        <td class="FormLineItem" style="width: 50%;">
                            
                            <asp:Button ID="btnViewReport" Visible="false" runat="server" Text="View Report" 
                                onclick="btnViewReport_Click" />
                            
                        </td>
                    </tr>
                </table>
                <br />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
